import Cookies from 'vue-js-cookie'

const TokenKey = 'Admin-Token'

export function setName(name) {
    return Cookies.setItem("name", name)
}
export function getName() {
    return Cookies.setItem("name")
}
export function setToken(token) {
    return Cookies.set(TokenKey, token)
}
export function getToken() {
    return Cookies.get(TokenKey)
}
export function removeToken() {
    return Cookies.remove(TokenKey)
}
